package com.cleaningcloud.cld.domain;

import com.cleaningcloud.common.core.annotation.Excel;
import com.cleaningcloud.common.core.web.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 员工投诉对象 cld_staff_complaint
 *
 * @author cleaningcloud
 * @date 2024-10-27
 */
public class CldStaffComplaint extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 投诉ID
     */
    private Long staffComplaintId;

    /**
     * 项目ID
     */
    @Excel(name = "项目ID")
    private Long projectId;

    /**
     * 投诉人ID
     */
    @Excel(name = "投诉人ID")
    private Long staffId;

    /**
     * 员工投诉(1人员投诉2项目投诉3工作投诉4其他投诉)
     */
    @Excel(name = "员工投诉(1人员投诉2项目投诉3工作投诉4其他投诉)")
    private Long complaintType;

    /**
     * 被投诉人ID
     */
    @Excel(name = "被投诉人ID")
    private Long complaintStaffId;

    /**
     * 投诉内容
     */
    @Excel(name = "投诉内容")
    private String complaintContent;

    /**
     * 投诉时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "投诉时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date complaintTime;

    /**
     * 是否匿名
     */
    @Excel(name = "是否匿名")
    private Long isAnonymous;

    public Long getStaffComplaintId() {
        return staffComplaintId;
    }

    public void setStaffComplaintId(Long staffComplaintId) {
        this.staffComplaintId = staffComplaintId;
    }

    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public Long getStaffId() {
        return staffId;
    }

    public void setStaffId(Long staffId) {
        this.staffId = staffId;
    }

    public Long getComplaintType() {
        return complaintType;
    }

    public void setComplaintType(Long complaintType) {
        this.complaintType = complaintType;
    }

    public Long getComplaintStaffId() {
        return complaintStaffId;
    }

    public void setComplaintStaffId(Long complaintStaffId) {
        this.complaintStaffId = complaintStaffId;
    }

    public String getComplaintContent() {
        return complaintContent;
    }

    public void setComplaintContent(String complaintContent) {
        this.complaintContent = complaintContent;
    }

    public Date getComplaintTime() {
        return complaintTime;
    }

    public void setComplaintTime(Date complaintTime) {
        this.complaintTime = complaintTime;
    }

    public Long getIsAnonymous() {
        return isAnonymous;
    }

    public void setIsAnonymous(Long isAnonymous) {
        this.isAnonymous = isAnonymous;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("staffComplaintId", getStaffComplaintId())
                .append("projectId", getProjectId())
                .append("staffId", getStaffId())
                .append("complaintType", getComplaintType())
                .append("complaintStaffId", getComplaintStaffId())
                .append("complaintContent", getComplaintContent())
                .append("complaintTime", getComplaintTime())
                .append("isAnonymous", getIsAnonymous())
                .toString();
    }
}
